package pl.grabar.clinic.core.domain.visit.data;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * Klasa reprezentująca recepte
 * 
 * @author db
 * 
 */
@Entity
@Table(name = "MEDICAL_PRESCRIPTION")
public class MedicalPrescription implements Serializable {

	private static final long serialVersionUID = -2543359640536730536L;

	@Id
	@GeneratedValue
	@JsonIgnore
	private long id;

	/**
	 * Lek.
	 */
	@Column
	private String medicament;

	/**
	 * Opis do recepty.
	 */
	@Column
	private String description;

	/**
	 * Dawkowanie
	 */
	@Column
	private String dosage;

	/* AKCESORY */
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getMedicament() {
		return medicament;
	}

	public void setMedicament(String medicament) {
		this.medicament = medicament;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getDosage() {
		return dosage;
	}

	public void setDosage(String dosage) {
		this.dosage = dosage;
	}

}
